#ifndef HTTPFIXEDRESPONSE_H
#define HTTPFIXEDRESPONSE_H

#include "ServerStruct.h"

void set_response_success(Response *response, char *msg);
void set_response_success_with_data(Response *response, char *msg, char *data);
void set_response_unauthorized(Response *response);
void set_response_not_found(Response *response);
void set_response_bad_request(Response *response, char *msg);
void set_response_internal_error_default(Response *response);
void set_response_internal_error(Response *response, char* msg);
void send_response_unauthorized(EventLoop *el, Client *client);
void send_response_bad_request(EventLoop *el, Client *client, char *msg);

#endif // HTTPFIXEDRESPONSE_H
